package org.zjx.resource;


public class FontAttribute {
    public static final String LOCATION = "location";
    public static final String NPC = "npc";
    public static final String PROP = "prop";
    public static final String TASKBAR = "taskbar";
    public static final String SPECIAL = "special";

    public static int fontType(String fontName) {
        switch (fontName) {
            case LOCATION:
                return 1;
            case NPC:
                return 2;
            case PROP:
                return 3;
            case TASKBAR:
                return 4;
            case SPECIAL:
                return 6;
            default:
                return 0;
        }
    }
}
